package o;

import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.bumptech.glide.gifdecoder.GifDecoder.c;

public final class xu implements c {
    private final uc ˎ;
    @Nullable
    private final ud ˏ;

    public xu(uc ucVar, @Nullable ud udVar) {
        this.ˎ = ucVar;
        this.ˏ = udVar;
    }

    @NonNull
    public Bitmap ˋ(int i, int i2, @NonNull Config config) {
        return this.ˎ.ॱ(i, i2, config);
    }

    public void ˎ(@NonNull Bitmap bitmap) {
        this.ˎ.ˏ(bitmap);
    }

    @NonNull
    public byte[] ˋ(int i) {
        if (this.ˏ == null) {
            return new byte[i];
        }
        return (byte[]) this.ˏ.ॱ(i, byte[].class);
    }

    public void ˊ(@NonNull byte[] bArr) {
        if (this.ˏ != null) {
            this.ˏ.ˊ(bArr);
        }
    }

    @NonNull
    public int[] ˏ(int i) {
        if (this.ˏ == null) {
            return new int[i];
        }
        return (int[]) this.ˏ.ॱ(i, int[].class);
    }

    public void ˏ(@NonNull int[] iArr) {
        if (this.ˏ != null) {
            this.ˏ.ˊ(iArr);
        }
    }
}
